@layout("/common/_container.html",{js:["/assets/basic/basicOperate/basicOperate_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="basicOperateForm" lay-filter="basicOperateForm" class="layui-form model-form" style="max-width: 700px;margin: 30px auto;">
                <input name="id" type="hidden"/>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
			    	<legend>添加项目部</legend>
			  	</fieldset>
                <div class="layui-form-item">
                    <label class="layui-form-label">所属主体<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="coId" name="coId" lay-filter="coId" lay-verify="required" required>
                            @for(item in ztlist!){
                            <option value="${item.id}">${item.coName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">项目部名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="operateName" name="operateName" placeholder="请输入项目部名称" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">简称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="abbreviation" name="abbreviation" placeholder="请输入简称" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所属上级部门<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="deptId" name="deptId" type="hidden">
                        <input readonly="readonly" id="deptName" name="deptName" placeholder="请输入所属上级部门" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">联系人</label>
                    <div class="layui-input-block">
                        <input id="operateContacts" name="operateContacts" placeholder="请输入联系人" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">电话</label>
                    <div class="layui-input-block">
                        <input id="operateTel" name="operateTel" placeholder="请输入电话" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">邮箱</label>
                    <div class="layui-input-block">
                        <input id="operateEmall" name="operateEmall" placeholder="请输入邮箱" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所属省份</label>
                    <div class="layui-input-block">
                        <input id="operateProvinces" name="operateProvinces" placeholder="请输入所属省份" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所在城市</label>
                    <div class="layui-input-block">
                        <input id="operateCiywhere" name="operateCiywhere" placeholder="请输入所在城市" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">开户行</label>
                    <div class="layui-input-block">
                        <input id="operateBank" name="operateBank" placeholder="请输入开户行" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">银行账号</label>
                    <div class="layui-input-block">
                        <input id="operateBankaccount" name="operateBankaccount" placeholder="请输入银行账号" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">社会统一信用代码</label>
                    <div class="layui-input-block">
                        <input id="operateCreditcode" name="operateCreditcode" placeholder="请输入社会统一信用代码" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">地址</label>
                    <div class="layui-input-block">
                        <input id="operateAddress" name="operateAddress" placeholder="请输入地址" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">备注</label>
                    <div class="layui-input-block">
                        <input id="operateNotes" name="operateNotes" placeholder="请输入备注" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
			    	<legend>TMS设置</legend>
			  	</fieldset>
                <div class="layui-form-item">
                    <label class="layui-form-label">是否计算每单运输成本</label>
                    <div class="layui-input-block">
                        <select id="eachOrderCost" name="eachOrderCost" lay-filter="eachOrderCost" lay-verify="" required>
                        	<option value=""></option>
                            <option value="是">是</option>
                            <option value="否">否</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">是否校验围栏</label>
                    <div class="layui-input-block">
                        <select id="checkWl" name="checkWl" lay-filter="checkWl" lay-verify="" required>
                        	<option value=""></option>
                            <option value="是">是</option>
                            <option value="否">否</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">司机是否签到</label>
                    <div class="layui-input-block">
                        <select id="qdDriver" name="qdDriver" lay-filter="qdDriver" lay-verify="" required>
                        	<option value=""></option>
                            <option value="是">是</option>
                            <option value="否">否</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">是否计算运费</label>
                    <div class="layui-input-block">
                        <select id="calculateShippingCost" name="calculateShippingCost" lay-filter="calculateShippingCost" lay-verify="" required>
                        	<option value=""></option>
                            <option value="是">是</option>
                            <option value="否">否</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">扫码装车</label>
                    <div class="layui-input-block">
                        <select id="scanDress" name="scanDress" lay-filter="scanDress" lay-verify="" required>
                        	<option value=""></option>
                            <option value="是">是</option>
                            <option value="否">否</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}